package com.unitd.frame.sso.annotation;

/**
 * @desc 自定义枚举对象,用于处理SSO执行状态,主要用户权限验证判断
 * @filename Action.java
 * @copyright www.unitd.com
 * @author Hudan
 * @version 1.0
 * @date 2016/10/14
 */
public enum Action {
	/** 正常(默认) */
	Normal("0", "执行权限验证"),

	/** 跳过 */
	Skip("1", "跳过权限验证");

	/** 主键 */
	private final String key;
	/** 描述 */
	private final String desc;

	Action(final String key, final String desc) {
		this.key = key;
		this.desc = desc;
	}

	public String getKey() {
		return this.key;
	}

	public String getDesc() {
		return this.desc;
	}
}